utf8proc.git
3 months agod/control: Require unicode-data 17.0.0
Matthias Geiger [Mon, 12 Jan 2026 14:58:39 +0000 (15:58 +0100)]
d/control: Require unicode-data 17.0.0

3 months agod/patches: Rebase for new upstream
Matthias Geiger [Mon, 12 Jan 2026 14:56:59 +0000 (15:56 +0100)]
d/patches: Rebase for new upstream

3 months agod/control: Bump S-V to 4.7.3; drop priority: optional and RRR
Matthias Geiger [Mon, 12 Jan 2026 14:55:30 +0000 (15:55 +0100)]
d/control: Bump S-V to 4.7.3; drop priority: optional and RRR

3 months agoNew upstream release
Matthias Geiger [Mon, 12 Jan 2026 14:54:56 +0000 (15:54 +0100)]
New upstream release

3 months agoUpdate upstream source from tag 'upstream/2.11.3'
Matthias Geiger [Mon, 12 Jan 2026 14:54:56 +0000 (15:54 +0100)]
Update upstream source from tag 'upstream/2.11.3'

Update to upstream version '2.11.3'
with Debian dir 4281d9b7c324295db9c12e7fb3fa3f1b5ea1a81b

3 months agoNew upstream version 2.11.3
Matthias Geiger [Mon, 12 Jan 2026 14:54:55 +0000 (15:54 +0100)]
New upstream version 2.11.3

4 months agoupdate 2.11.3 release date and link
Steven G. Johnson [Tue, 30 Dec 2025 16:54:31 +0000 (11:54 -0500)]
update 2.11.3 release date and link

4 months agoCorrect OOB read (#323)
Erik Schnetter [Tue, 30 Dec 2025 16:53:28 +0000 (11:53 -0500)]
Correct OOB read (#323)

* Correct OOB read

* Record PR number

4 months agoMerge pull request #321 from JuliaStrings/dependabot/github_actions/actions/upload...
Erik Schnetter [Mon, 15 Dec 2025 12:48:25 +0000 (07:48 -0500)]
Merge pull request #321 from JuliaStrings/dependabot/github_actions/actions/upload-artifact-6

ci: bump actions/upload-artifact from 5 to 6

4 months agoci: bump actions/upload-artifact from 5 to 6
dependabot[bot] [Mon, 15 Dec 2025 04:16:05 +0000 (04:16 +0000)]
ci: bump actions/upload-artifact from 5 to 6

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoversion bump to 2.11.2 (#319)
Steven G. Johnson [Sat, 22 Nov 2025 19:14:03 +0000 (14:14 -0500)]
version bump to 2.11.2 (#319)

5 months agoFix attempting to combine Hangul Jamo 0x11a7 (#317)
Diego Frias [Sat, 22 Nov 2025 18:42:18 +0000 (12:42 -0600)]
Fix attempting to combine Hangul Jamo 0x11a7 (#317)

* Fix attempting to combine Hangul Jamo 0x11a7

0x11a7 is not a valid Hangul T syllable despite being equal to T_BASE.
This is because, per the Unicode spec:

  TCount is set to one more than the number of trailing consonants
  relevant to the decomposition algorithm: (0x11C2 - 0x11A8 + 1) + 1

So the first valid Hangul T syllable is 0x11a8. Also see
https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-3/#G59434
for where the spec describes the usage of 0x11a8, not 0x11a7, during
composition.

* document that utf8proc_map simply wraps utf8proc_decompose and utf8proc_reencode (#312)

* test code refactoring (#318)

* Write regression test for #317

---------

Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu>
5 months agotest code refactoring (#318)
Steven G. Johnson [Sat, 22 Nov 2025 14:40:53 +0000 (09:40 -0500)]
test code refactoring (#318)

5 months agodocument that utf8proc_map simply wraps utf8proc_decompose and utf8proc_reencode...
Steven G. Johnson [Sat, 22 Nov 2025 14:34:10 +0000 (09:34 -0500)]
document that utf8proc_map simply wraps utf8proc_decompose and utf8proc_reencode (#312)

5 months agoci: bump actions/checkout from 5 to 6 (#316)
dependabot[bot] [Fri, 21 Nov 2025 18:15:17 +0000 (13:15 -0500)]
ci: bump actions/checkout from 5 to 6 (#316)

Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 months agoAllow manually defining symbol visibility in static builds. (#313)
Dymphna [Sat, 15 Nov 2025 01:42:42 +0000 (19:42 -0600)]
Allow manually defining symbol visibility in static builds. (#313)

5 months agoupdate NEWS date for 2.11.1
Steven G. Johnson [Thu, 13 Nov 2025 19:32:14 +0000 (14:32 -0500)]
update NEWS date for 2.11.1

5 months agoupdate NEWS.md links
Steven G. Johnson [Thu, 13 Nov 2025 19:30:41 +0000 (14:30 -0500)]
update NEWS.md links

5 months agoCorrect out-of-bounds memory access (#311)
Erik Schnetter [Thu, 13 Nov 2025 19:27:18 +0000 (14:27 -0500)]
Correct out-of-bounds memory access (#311)

* Correct out-of-bounds memory access

* Correct syntax error

* Add test

* Update NEWS.md

Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu>
---------

Co-authored-by: Steven G. Johnson <stevenj@alum.mit.edu>
6 months agoci: bump actions/upload-artifact from 4 to 5 (#309)
dependabot[bot] [Mon, 27 Oct 2025 13:02:44 +0000 (09:02 -0400)]
ci: bump actions/upload-artifact from 4 to 5 (#309)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months agoMerge pull request #305 from nijtmans/cplusplus_compat
Erik Schnetter [Sun, 12 Oct 2025 16:59:43 +0000 (12:59 -0400)]
Merge pull request #305 from nijtmans/cplusplus_compat

Add -Wc++-compat option, and eliminate corresponsing warnings

6 months agoAdd -Wc++-compat option, and eliminate corresponsing warnings
nijtmans [Thu, 2 Oct 2025 14:46:48 +0000 (16:46 +0200)]
Add -Wc++-compat option, and eliminate corresponsing warnings

7 months agoUpdate NEWS.md: link fix
Steven G. Johnson [Thu, 11 Sep 2025 01:02:13 +0000 (21:02 -0400)]
Update NEWS.md: link fix

7 months agoUpdate NEWS.md: wrong year
Steven G. Johnson [Thu, 11 Sep 2025 01:01:25 +0000 (21:01 -0400)]
Update NEWS.md: wrong year

7 months agoNEWS updates for 2.11.0 (#303)
Steven G. Johnson [Thu, 11 Sep 2025 01:00:56 +0000 (21:00 -0400)]
NEWS updates for 2.11.0 (#303)

7 months agoUpdate for Unicode 17 release (#301)
Erik Schnetter [Wed, 10 Sep 2025 10:48:53 +0000 (06:48 -0400)]
Update for Unicode 17 release (#301)

7 months agoRelease utf8proc 2.10.0-2 to unstable
Matthias Geiger [Wed, 3 Sep 2025 11:25:11 +0000 (13:25 +0200)]
Release utf8proc 2.10.0-2 to unstable

7 months agoUpload to unstable
Matthias Geiger [Wed, 3 Sep 2025 11:13:59 +0000 (13:13 +0200)]
Upload to unstable

7 months agoRelease utf8proc 2.10.0-1 to experimental
Matthias Geiger [Tue, 2 Sep 2025 19:22:01 +0000 (21:22 +0200)]
Release utf8proc 2.10.0-1 to experimental

7 months agod/copyright: Update
Matthias Geiger [Tue, 2 Sep 2025 17:45:54 +0000 (19:45 +0200)]
d/copyright: Update

7 months agod/watch: Switch to v4
Matthias Geiger [Tue, 2 Sep 2025 17:40:17 +0000 (19:40 +0200)]
d/watch: Switch to v4

7 months agod/libutf8proc3.symbols: Add new symbol, add Build-Depends
Matthias Geiger [Tue, 2 Sep 2025 17:39:49 +0000 (19:39 +0200)]
d/libutf8proc3.symbols: Add new symbol, add Build-Depends

7 months agod/control: Require unicode-data 16.0
Matthias Geiger [Tue, 2 Sep 2025 17:31:33 +0000 (19:31 +0200)]
d/control: Require unicode-data 16.0

7 months agod/rules: Drop obsolete buildsystem invocation
Matthias Geiger [Mon, 1 Sep 2025 16:47:37 +0000 (18:47 +0200)]
d/rules: Drop obsolete buildsystem invocation

7 months agoRebase patch for new upstream release
Matthias Geiger [Mon, 1 Sep 2025 16:25:43 +0000 (18:25 +0200)]
Rebase patch for new upstream release

7 months agod/control: Switch VCS-Urls to /debian namespace
Matthias Geiger [Mon, 1 Sep 2025 16:19:56 +0000 (18:19 +0200)]
d/control: Switch VCS-Urls to /debian namespace

7 months agod/control: Bump S-V to 4.7.2, no changes needed
Matthias Geiger [Mon, 1 Sep 2025 16:18:37 +0000 (18:18 +0200)]
d/control: Bump S-V to 4.7.2, no changes needed

7 months agod/control: Take over as maintainer
Matthias Geiger [Mon, 1 Sep 2025 16:18:10 +0000 (18:18 +0200)]
d/control: Take over as maintainer

7 months agoNew upstream release
Matthias Geiger [Mon, 1 Sep 2025 16:17:31 +0000 (18:17 +0200)]
New upstream release

7 months agoUpdate upstream source from tag 'upstream/2.10.0'
Matthias Geiger [Mon, 1 Sep 2025 16:17:31 +0000 (18:17 +0200)]
Update upstream source from tag 'upstream/2.10.0'

Update to upstream version '2.10.0'
with Debian dir 6428d0cdf482c0505c8dc9191e3748cb53aa92a5

7 months agoNew upstream version 2.10.0
Matthias Geiger [Mon, 1 Sep 2025 16:17:30 +0000 (18:17 +0200)]
New upstream version 2.10.0

7 months agod/changelog: Update
Matthias Geiger [Mon, 1 Sep 2025 16:14:36 +0000 (18:14 +0200)]
d/changelog: Update

7 months agod/gbp.conf: Update for DEP-14 style
Matthias Geiger [Mon, 1 Sep 2025 16:13:55 +0000 (18:13 +0200)]
d/gbp.conf: Update for DEP-14 style

8 months agoUpdate Maintainer and Uploaders
Graham Inggs [Tue, 26 Aug 2025 10:33:28 +0000 (10:33 +0000)]
Update Maintainer and Uploaders

8 months agoRemove myself from Uploaders
Graham Inggs [Sat, 23 Aug 2025 19:15:15 +0000 (19:15 +0000)]
Remove myself from Uploaders

8 months agoci: bump actions/checkout from 4 to 5 (#300)
dependabot[bot] [Tue, 12 Aug 2025 16:13:32 +0000 (12:13 -0400)]
ci: bump actions/checkout from 4 to 5 (#300)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9 months agolink other language bindings
Steven G. Johnson [Tue, 15 Jul 2025 21:26:15 +0000 (16:26 -0500)]
link other language bindings

9 months agoMerge pull request #296 from Techcable/fix/docs-issue-295
Erik Schnetter [Mon, 14 Jul 2025 16:45:57 +0000 (12:45 -0400)]
Merge pull request #296 from Techcable/fix/docs-issue-295

Fix documentation for `UTF8PROC_COMPOSE` (#295)

9 months agoFix documentation for UTF8PROC_COMPOSE (#295)
Techcable [Mon, 14 Jul 2025 13:49:31 +0000 (06:49 -0700)]
Fix documentation for UTF8PROC_COMPOSE (#295)

The documentation for UTF8PROC_COMPOSE and UTF8PROC_DECOMPOSE options was the same.
Fic

9 months agoFix ASAN errors due adding offset to nullptr (#240)
parmeet [Thu, 10 Jul 2025 20:53:52 +0000 (16:53 -0400)]
Fix ASAN errors due adding offset to nullptr (#240)

* Fix ASAN errors due adding offset to nullptr

* Revert "Fix ASAN errors due adding offset to nullptr"

This reverts commit b933f42d51e6a8e278e6ce1932e6e027e07d5f51.

* make changes compact

10 months agoFix compilation in C90 mode (#284)
Thomas Koutcher [Fri, 20 Jun 2025 20:10:58 +0000 (22:10 +0200)]
Fix compilation in C90 mode (#284)

10 months agocheck max size of utf8proc_decompose_char buffer (#291)
Steven G. Johnson [Fri, 20 Jun 2025 20:10:14 +0000 (16:10 -0400)]
check max size of utf8proc_decompose_char buffer (#291)

* check max size of utf8proc_decompose_char buffer

* cmake rule for maxdecomposition test

* Update maxdecomposition.c

10 months agomark as alpha in NEWS
Steven G. Johnson [Fri, 20 Jun 2025 19:49:30 +0000 (15:49 -0400)]
mark as alpha in NEWS

10 months agomake release date TBD
Steven G. Johnson [Fri, 20 Jun 2025 19:47:39 +0000 (15:47 -0400)]
make release date TBD

10 months agoadd NEWS link
Steven G. Johnson [Fri, 20 Jun 2025 19:46:03 +0000 (15:46 -0400)]
add NEWS link

10 months agoPrepare release 2.11.0 (#293)
Erik Schnetter [Fri, 20 Jun 2025 19:45:40 +0000 (15:45 -0400)]
Prepare release 2.11.0 (#293)

* Prepare release 2.11.0

* Update soversion

* Update MANIFEST

10 months agoUpdate to UnicodeData 17.0.0 (#292)
Erik Schnetter [Wed, 18 Jun 2025 17:46:52 +0000 (13:46 -0400)]
Update to UnicodeData 17.0.0 (#292)

* Update to UnicodeData 17.0.0

* Tests: Handle grapheme strings containing NUL

* Tests: Remove left-over assert statement

* Correct build errors

* Correct build errors

* Update internal version numbers

* Update more version numbers

* Remove unwanted file

10 months agoMerge pull request #260 from kevinAlbs/add-cmake-config-file-package
Erik Schnetter [Sat, 7 Jun 2025 21:05:57 +0000 (17:05 -0400)]
Merge pull request #260 from kevinAlbs/add-cmake-config-file-package

Add CMake Config-file package

11 months agoremove test build directory from .gitignore
Kevin Albertson [Thu, 22 May 2025 00:21:31 +0000 (20:21 -0400)]
remove test build directory from .gitignore

11 months agofix comparison
Kevin Albertson [Tue, 20 May 2025 00:25:36 +0000 (20:25 -0400)]
fix comparison

11 months agouse `CMAKE_INSTALL_PREFIX` instead of `--prefix`
Kevin Albertson [Mon, 19 May 2025 23:58:58 +0000 (19:58 -0400)]
use `CMAKE_INSTALL_PREFIX` instead of `--prefix`

11 months agorevise Unix `PATH` setting
Kevin Albertson [Tue, 20 May 2025 00:04:29 +0000 (20:04 -0400)]
revise Unix `PATH` setting

Remove unneeded export.
Prefix `PATH` to avoid referring unintentional binaries.

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
11 months agouse `runner.os`
Kevin Albertson [Tue, 20 May 2025 00:03:39 +0000 (20:03 -0400)]
use `runner.os`

To allows future Windows additions to the test matrix.

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
11 months agorevise Powershell PATH setting
Kevin Albertson [Tue, 20 May 2025 00:02:01 +0000 (20:02 -0400)]
revise Powershell PATH setting

Use capital `$Env` instead of `$env` to match conventions.
Prefix `PATH` to avoid referring unintentional binaries.
Prefer `\` over `/` to match conventions.

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
11 months agoMerge remote-tracking branch 'upstream/master' into add-cmake-config-file-package
Kevin Albertson [Sat, 17 May 2025 18:37:49 +0000 (14:37 -0400)]
Merge remote-tracking branch 'upstream/master' into add-cmake-config-file-package

11 months agotest consuming CMake package
Kevin Albertson [Sat, 17 May 2025 13:52:36 +0000 (09:52 -0400)]
test consuming CMake package

15 months agorm blank line
Steven G. Johnson [Tue, 31 Dec 2024 20:17:14 +0000 (15:17 -0500)]
rm blank line

15 months agoprepare for 2.10 release (#281)
Steven G. Johnson [Tue, 31 Dec 2024 20:15:04 +0000 (15:15 -0500)]
prepare for 2.10 release (#281)

* prepare for 2.10 release

* update NEWS links

15 months agosilence warnings: use int32_t for chars more consistently (#282)
Steven G. Johnson [Tue, 31 Dec 2024 19:58:17 +0000 (14:58 -0500)]
silence warnings: use int32_t for chars more consistently (#282)

16 months agoMerge pull request #277 from eschnett/eschnett/unicode16
Erik Schnetter [Sun, 29 Dec 2024 20:15:14 +0000 (15:15 -0500)]
Merge pull request #277 from eschnett/eschnett/unicode16

Redesign combining table

16 months agoOptimize table layout
Erik Schnetter [Sun, 29 Dec 2024 18:38:01 +0000 (13:38 -0500)]
Optimize table layout

16 months agoBump SOINDEX
Erik Schnetter [Sat, 28 Dec 2024 19:40:44 +0000 (14:40 -0500)]
Bump SOINDEX

16 months agoci: bump actions/checkout from 2 to 4 (#278)
dependabot[bot] [Sat, 28 Dec 2024 18:29:04 +0000 (13:29 -0500)]
ci: bump actions/checkout from 2 to 4 (#278)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 months agoci: bump actions/upload-artifact from 1 to 4 (#279)
dependabot[bot] [Sat, 28 Dec 2024 18:28:54 +0000 (13:28 -0500)]
ci: bump actions/upload-artifact from 1 to 4 (#279)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 1 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 months agoUpdate minimum cmake version to 3.10 (#274)
dundargoc [Sat, 28 Dec 2024 18:28:37 +0000 (19:28 +0100)]
Update minimum cmake version to 3.10 (#274)

This is to prevent the following warning:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

16 months agofuzz: improve code coverage (#273)
tyler92 [Sat, 28 Dec 2024 18:27:15 +0000 (20:27 +0200)]
fuzz: improve code coverage (#273)

16 months agoDescribe character combining table layout
Erik Schnetter [Sat, 28 Dec 2024 17:30:53 +0000 (12:30 -0500)]
Describe character combining table layout

16 months agoci: add dependabot to update actions (#275)
dundargoc [Sat, 28 Dec 2024 13:15:47 +0000 (14:15 +0100)]
ci: add dependabot to update actions (#275)

This will prevent CI failing from using deprecated actions.

16 months agoUpdate actions
Erik Schnetter [Fri, 20 Dec 2024 18:05:10 +0000 (13:05 -0500)]
Update actions

16 months agoutf8proc: Correct some types
Erik Schnetter [Thu, 19 Dec 2024 14:29:27 +0000 (09:29 -0500)]
utf8proc: Correct some types

16 months agoCorrect handling exclusions
Erik Schnetter [Wed, 18 Dec 2024 22:05:57 +0000 (17:05 -0500)]
Correct handling exclusions

16 months agoRedesign combining table
Erik Schnetter [Wed, 18 Dec 2024 20:55:35 +0000 (15:55 -0500)]
Redesign combining table

20 months agoupdate for Unicode 16.0.0
Steven G. Johnson [Fri, 30 Aug 2024 17:05:51 +0000 (13:05 -0400)]
update for Unicode 16.0.0

20 months agoproperties: add "ambiguous_width" property for ambiguous East Asian Width (#270)
bfredl [Fri, 30 Aug 2024 16:39:09 +0000 (18:39 +0200)]
properties: add "ambiguous_width" property for ambiguous East Asian Width (#270)

Some characters have their width defined as "Ambiguous" in UAX#11.
These are typically rendered as single-width by modern monospace fonts,
and utf8proc correctly returns charwidth==1 for these.

However some applications might need to support older CJK fonts where
characters which where two-byte in legacy encodings were rendered as
double-width. An example of this is the 'ambiwidth' option of vim
and neovim which supports rendering in terminals using such wideness
rules.

Add an 'ambiguous_width' property to utf8proc_property_t for such characters.

21 months agodocs: add examples for common usecases (#267)
dundargoc [Fri, 12 Jul 2024 02:01:19 +0000 (04:01 +0200)]
docs: add examples for common usecases (#267)

21 months agoUpdate README.md
Steven G. Johnson [Thu, 11 Jul 2024 13:16:17 +0000 (09:16 -0400)]
Update README.md

21 months agoci(macos): install julia dependency (#268)
dundargoc [Wed, 10 Jul 2024 11:48:32 +0000 (13:48 +0200)]
ci(macos): install julia dependency (#268)

Otherwise the job fails with the error message

"/bin/sh: julia: command not found"

22 months agorelocate `Using with CMake`
Kevin Albertson [Fri, 7 Jun 2024 16:57:37 +0000 (12:57 -0400)]
relocate `Using with CMake`

22 months agomake `Using with CMake` a subsection of `Quick Start`
Kevin Albertson [Fri, 7 Jun 2024 16:57:12 +0000 (12:57 -0400)]
make `Using with CMake` a subsection of `Quick Start`

22 months agochange `AnyNewerVersion` to `SameMajorVersion` for version compatibility
Kevin Albertson [Fri, 7 Jun 2024 16:56:22 +0000 (12:56 -0400)]
change `AnyNewerVersion` to `SameMajorVersion` for version compatibility

utf8proc appears to use SemVer. Do not consider different major versions compatible.

22 months agofix whitespace
Kevin Albertson [Fri, 7 Jun 2024 16:48:24 +0000 (12:48 -0400)]
fix whitespace

Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
2 years agobuild: include clangd files to .gitignore (#263)
dundargoc [Mon, 29 Apr 2024 17:33:59 +0000 (19:33 +0200)]
build: include clangd files to .gitignore (#263)

2 years agobuild: remove unnecessary policy check (#262)
dundargoc [Mon, 8 Apr 2024 17:46:39 +0000 (19:46 +0200)]
build: remove unnecessary policy check (#262)

Minimum version is 3.5 and policy CMP0048 was introduced in 3.0, meaning
that it will always be set to `NEW`.

2 years agoadd `Using with CMake` instructions
Kevin Albertson [Mon, 15 Jan 2024 15:03:18 +0000 (10:03 -0500)]
add `Using with CMake` instructions

2 years agoinstall package version file
Kevin Albertson [Sat, 13 Jan 2024 23:46:34 +0000 (18:46 -0500)]
install package version file

2 years agocreate and install package config file
Kevin Albertson [Sat, 13 Jan 2024 23:18:15 +0000 (18:18 -0500)]
create and install package config file

2 years agoexport and install targets
Kevin Albertson [Sat, 13 Jan 2024 23:08:11 +0000 (18:08 -0500)]
export and install targets

2 years agouse relative paths for install
Kevin Albertson [Sat, 13 Jan 2024 23:07:29 +0000 (18:07 -0500)]
use relative paths for install

This is intended to make the installed package relocatable.

2 years agoRemove ruby compat hacks (#259)
Claire Foster [Thu, 4 Jan 2024 18:01:49 +0000 (04:01 +1000)]
Remove ruby compat hacks (#259)

* Fix two minor bugs from the Ruby code

First, `categroy` rather than `code` was used in constructing the
`control_boundary` property as related to the characters U+200C and
U+200D. This seemed incorrect and should be fixed. This could be an
observable bugfix for any C code which inspects the `control_boundary`
property.

Second, when reading composition exclusions, Ruby's String hex method
produces zero rather than nil if no number is found. For example

    $ ruby -e 'puts "# blah".hex'
    0

This led to the character `'\0'` being included in the `exclusions`
and `excl_versions` sets which is incorrect. However this seems
asymptomatic because `'\0'` is never part of a composition. (In terms of
the C code, the use of `comp_exclusion` is guarded by the `comb_index`
property which is `UINT16_MAX` for `'\0'`.)

* Cleanup: Remove sequence ordering hack

This hack changed the ordering of sequences encoded in the sequences
table and was added so we could easily prove equivalence to the Ruby
data generator code.

However, it's no longer needed and removing it shouldn't result in any
functional change.

2 years agoUse stdint.h instead of inttypes.h (#223)
Michael Williamson [Thu, 4 Jan 2024 00:34:07 +0000 (00:34 +0000)]
Use stdint.h instead of inttypes.h (#223)

This improves support for targeting wasm32 with clang 12.